﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CruzDelSur.Dominio;
using NHibernate;
using NHibernate.Criterion;

namespace CruzDelSur.Persistencia
{
    public class ClienteDAO : BaseDAO<Cliente, int>, IClienteDAO
    {
        public ICollection<Cliente> listarClientes()
        {
            return Listar(DetachedCriteria.For(typeof(Cliente)));
        }
    }
}